# +----------------------------------------------------------------------
# | Pink [ A modern python web framework ]
# +----------------------------------------------------------------------
# | Copyright (c) 2023 http:#unnnnn.com All rights reserved.
# +----------------------------------------------------------------------
# | Author: chenjianhua <unnnnn@foxmail.com>
# +----------------------------------------------------------------------

class Facade(type):
    def __getattr__(self, attribute, *args, **kwargs):
        from src.wsgi import application

        return getattr(application.make(self.key), attribute)
